package com.hall.service;

import com.hall.dao.MyEditorMapper;
import com.hall.pojo.Appointment;
import com.hall.pojo.SysUser;
import com.hall.pojo.SysUserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

public class MyEditorServesImpl implements MyEditorServes {
    @Autowired
    private MyEditorMapper myEditorMapper;

    @Override
    public SysUser findAllUserById(String id) {
        return myEditorMapper.findAllUserById(id);
    }

    @Override
    public int upLoadImg(SysUser sysUser) {
        return myEditorMapper.upLoadImg(sysUser);
    }

    @Override
    public int updateOne(SysUser sysUser) {
        return myEditorMapper.updateOne(sysUser);
    }

    public void setMyEditorMapper(MyEditorMapper myEditorMapper) {
        this.myEditorMapper = myEditorMapper;
    }
}
